home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 November / Chip Kasım 2000.iso / prog / palm / wince / 08 / setup.exe / default.skn < prev    next >
Encoding:
Text File  |  2000-02-07  |  6.9 KB  |  154 lines

  1. [Pocket WMP Skin File v1.0]
  2.  
  3. //////////////////////////////////////////////////////////////////////////////
  4. //
  5. // Windows Media Player for Palm-size PC v1.0 Default Skin File
  6. //
  7. // This file describes the various elements that comprise the main view of
  8. // the WMP for P/PC.  It names the various bitmap files that are used, and
  9. // describes the physical layout & logical function of the controls.
  10. //
  11. // Notes:
  12. //     Lines that begin with two forward slashes and blank lines are ignored.
  13. //     Do not use any tab characters in this file.
  14. //     The very first line of the file must be "[Pocket WMP Skin File v1.0]".
  15. //
  16. //////////////////////////////////////////////////////////////////////////////
  17.  
  18.  
  19. //////////////////////////////////////////////////////////////////////////////
  20. [ Bitmaps ]
  21.  
  22. //  <Name>      <File name>     <X,Y>
  23. //  ------      -----------     -----
  24.     Background  Background.bmp  0,0
  25.     Disabled    Disabled.bmp    40,50
  26.     Pushed      Pushed.bmp      40,50
  27.     Region      Region.bmp      40,50
  28.     Super       Super.bmp       0,0
  29.  
  30. //
  31. // <Name> is one of { Background | Disabled | Pushed | Region | SeekThumb |
  32. //                    Super | VolumeThumb }
  33. //
  34. // <File name> is the bitmap file name as found in the skin directory (no path)
  35. // The file name must not include space or comma characters.
  36. //
  37. // For the disabled, pushed, and region bitmaps, { <X,Y> } represents
  38. // the top left corner of that bitmap relative to the background. They should
  39. // both be zero for other bitmaps.
  40. //
  41.  
  42.  
  43. //////////////////////////////////////////////////////////////////////////////
  44. [ Buttons ]
  45.  
  46. //  <Function> <Type>     <Location>     <Push Image Src>  <Dis Image Src>    <Hit R,G,B>  <Norm 2 Image Src>  <Push 2 Image Src>
  47. //  ---------- ------     ----------     ----------------  ---------------    -----------  ------------------  ------------------
  48.     PlayPause  2PushHit   84,99,67,67   Pushed @ 44,50    Disabled @ 44,50     0,255,255  Pushed @ 160,5      Pushed @ 160,98
  49.     Info       PushHit    97,49,43,43    Pushed @ 57,0     Disabled @ 57,0      0,  0,  0
  50.     Stop       PushHit    97,173,43,43   Pushed @ 57,124   Disabled @ 57,124  255,255,  0
  51.     Prev       PushHit    40,83,43,43    Pushed @ 0,34     Disabled @ 0,34      0,  0,255
  52.     Next       PushHit    153,83,43,43   Pushed @ 113,34   Disabled @ 113,34  255,  0,  0
  53.     Shuffle    ToggleHit  40,136,43,43   Pushed @ 0,87     Disabled @ 0,87      0,255,  0
  54.     Repeat     ToggleHit  153,136,43,43  Pushed @ 113,87   Disabled @ 113,87  255,  0,255
  55.     Mute       Toggle     5,220,24,23    Super @ 247,29    Super @ 4,28         0,  0,  0
  56.  
  57. //
  58. // <Function> is one of { Play | Pause | Stop | Prev | Next | Shuffle | Repeat | Mute |
  59. //                        PlayPause | Info }
  60. //
  61. // <Type> is one of { Push | Toggle | 2Push | PushHit | ToggleHit | 2PushHit }
  62. //     PushHit, 2PushHit, and ToggleHit buttons are hit tested by color against the Region
  63. //     bitmap, while Push, 2Push, and Toggle buttons use their location rectangle
  64. //
  65. // <Location> is { left, top, width, height } for the button rectangle in the UI
  66. //
  67. // <Push Image Src> picks one of the bitmaps by name as the source for the pushed image
  68. //     and describes the top left corner for the pushed button within the image
  69. //
  70. // <Dis Image Src> picks one of the bitmaps by name as the source for the disabled image
  71. //     and describes the top left corner for the disabled button within the image
  72. //
  73. // <Hit R,G,B> gives the hit test color (0,0,0 for Push or Toggle)
  74. //
  75. // <Norm 2 Image Src> picks one of the bitmaps by name as the source for the secondary
  76. //     normal image for a 2Push or 2PushHit button and describes the top left corner of
  77. //     the button within the image
  78. //
  79. // <Push 2 Image Src> picks one of the bitmaps by name as the source for the secondary
  80. //     pushed image for a 2Push or 2PushHit button and describes the top left corner of
  81. //     the button within the image
  82. //
  83.  
  84. //////////////////////////////////////////////////////////////////////////////
  85. [ Text ]
  86.  
  87. //  <Item>       <Location>     <Align>  <Font>          <Color>
  88. //  ------       ----------     -------  ------          -------
  89.     Time         180,46,50,30   Right    Tahoma,16,N     255,255,255
  90.     Playlist     3,46,175,20    Left     Tahoma,10,N     255,255,255
  91.     Track#       10,68,40,20    Left     Tahoma,14,N     255,255,255
  92.  
  93. //
  94. // <Item> is one of { Time | Track# | #Tracks | Title | Author | Copyright |
  95. //     Filename | FilenameExt | Bitrate | Frequency | Playlist }
  96. //
  97. // <Location> is { left, top, width, height } for the text rectangle in the UI
  98. //
  99. // <Align> is one of { Left | Center | Right }, specifying the text alignment in
  100. //     the given rectangle.
  101. //
  102. // <Font> gives the font face name, point size, and weight (as { B | N } -
  103. //     bold or normal, respectively).
  104. //
  105. // <Color> specifies the text foreground color.  All text is transparent at this point.
  106. //
  107.  
  108.  
  109. //////////////////////////////////////////////////////////////////////////////
  110. [ Marquis ]
  111.  
  112. //  <Location>   <Font>       <Color>      <Text item combinations>
  113. //  ----------   ------       -------      ------------------------
  114.     3,2,234,20   Tahoma,12,N  255,0,0    Title+Author, Title, Filename
  115.  
  116. //
  117. // <Location> is { left, top, width, height } for the marquis rectangle in the UI
  118. //
  119. // <Font> gives the font face name, point size, and weight (as { B | N } -
  120. //     bold or normal, respectively).
  121. //
  122. // <Color> specifies the text foreground color.  All text is transparent at this point.
  123. //
  124. // <Text item combinations> lists the possible choices for sets of text items to
  125. //     be scrolled through the marquis (if the text doesn't fit).  Each comma-delimited
  126. //     set of text item names (see <Item> in the [Text] section) is evaluated to see
  127. //     if all text items are available for the current track.  The first combination
  128. //     in which all text items are present is used.  The names of text items in each
  129. //     combination should be concatenated using a plus character, but no space characters.
  130. //
  131.  
  132.  
  133. //////////////////////////////////////////////////////////////////////////////
  134. [ Trackbars ]
  135.  
  136. // <Function>  <Location>     <Dis Image Src>  <Thumb Image Src>  <Thumb Size>
  137. // ----------  ----------     ---------------  -----------------  ------------
  138.    Seek        5,25,226,17    Super @ 4,1      SeekThumb.bmp      18,17
  139.    Volume      32,220,172,23  Super @ 32,27    VolumeThumb.bmp    23,22
  140.  
  141. //
  142. // <Function> is either Volume or Seek
  143. //
  144. // <Location> is { left, top, width, height } for the track bar rectangle in the UI
  145. //
  146. // <Dis Image Src> picks one of the bitmaps by name as the source for the disabled
  147. //     image and describes the top left corner of the disabled track bar within the image
  148. //
  149. // <Thumb Image Src> gives the filename of a bitmap containing the normal and pushed
  150. //     overlay thumb images    
  151. //
  152. // <Thumb Size> gives the width and height of each thumb image
  153. //
  154.